<?php
/**
 * This file has system information about site.
 * 
 * @version 2012-10-10
 * @package Config
 * @subpackage Common
 * @category System information
 */

$cfg['url'] = 'http://'.$cfg['host'].'/';
$cfg['url.activate.account'] = 'http://'.$cfg['host'].'/index.php?mod=account&act=activate&code=';
$cfg['url.member'] = 'http://'.$cfg['host'].'/member/';
$cfg['url.company'] = 'http://'.$cfg['host'].'/company/';
$cfg['url.admin'] = 'http://'.$cfg['host'].'/admin/';
$cfg['url.login'] = 'http://'.$cfg['host'].'/login';

$cfg['admin.menu'] = array (
	"Member"=>array("href"=>"/admin/index.php?mod=member","active"=>"members"),
	"Admins"=>array("href"=>"/admin/index.php?mod=admin","active"=>"admins"),
	"Category"=>array("href"=>"/admin/index.php?mod=category","active"=>"category"),
	/*"Groups"=>array("href"=>"/admin/index.php?mod=groups","active"=>"groups"),*/
	/*"Email Templates"=>array("href"=>"/admin/index.php?mod=mail","active"=>"email_templates"),*/
	/*"Settings"=>array("href"=>"/admin/index.php?mod=settings","active"=>"settings"),*/
);

$cfg['visitor.default'] = array(
    "alias" => "home",
    "mod" => "account",
);

$cfg['member.default'] = array(
    "mod" => "account",
    "act" => "home",
);

$cfg['admin.default'] = array(
    "mod" => "member"
);

//mail
$cfg['mail']['return_path'] = 'exemple@email.org';
$cfg['mail']['images_dir']  = '/pic';
$cfg['system_mail']  = 'exemple@email.org';

$cfg['global.pager'] = 20;

/**
 * Different date formats.
 * @var string
 */
$cfg['format.date'] = 'm/d/y';
$cfg['format.time'] = 'H:i';
$cfg['format.time.us'] = 'h:i a';
$cfg['format.datetime'] = 'm/d/y h:ia';
$cfg['format.datetime.sql'] = 'Y-m-d H:i:s';
$cfg['format.date.sql'] = 'Y-m-d';
$cfg['format.money']  = '$%.02f';

// file
$cfg['file'] = array(
    'url'      => $cfg['url'] . 'files/',
    'path'     => $cfg['path'] . 'files/',
    'max_size' => 1024*1024, // set 0 if no limits
); 

// images
$cfg['image'] = array_merge($cfg['file'], array(
    'url'   => $cfg['url'] . 'img/',
    'path'  => $cfg['path'] . 'img/',
    'types' => array('jpg', 'png', 'gif'),
    'max_w' => 1024,
    'max_h' => 1024,
));

/**
 * Superadmin id
 * @var integer
 */
$cfg['account.superadmin'] = 1;

$cfg['image.member'] = array_merge($cfg['image'], array(
    'name'   => 'member',    
    'thumbs' => array(                        
    	's' => array('w'=>60, 'h'=>60),
    ),  
));

/**
 * Superadmin id
 * @var integer
 */
$cfg['input.hide.pass'] = "****************";